package com.alcatel.staj.janjan.model;
import java.util.Date;

public class Personel {
	private int id;
	private String name;
	private String surname;
	private Date birthDate;
	private String birthPlace;
    private int departmantId;
	private String password;
	private int role;
	//private Departmant d=new Departmant();
	
	/**
	 * @return the role
	 */
	public int getRole() {
		return role;
	}
	/**
	 * @param role the role to set
	 */
	public void setRole(int role) {
		this.role = role;
	}
	

	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getDepartmantId() {
		return departmantId;
	}
	public void setDepartmantId(int departmantId) {
		this.departmantId = departmantId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSurname() {
		return surname;
	}
	public void setSurname(String surname) {
		this.surname = surname;
	}
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date date) {
		this.birthDate = date;
	}
	public String getBirthPlace() {
		return birthPlace;
	}
	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}
	/*public void setD(Departmant d) {
		this.d = d;
	}
	public Departmant getD() {
		return d;
	}
	*/
	
	
	
	
	

}
